//the system timer (Codename "Howard Northrop")




#define ST_BASE	(0xFFFFFD00)

//Register
#define ST_PIMR	(volatile unsigned int*)(ST_BASE + 0x0004)	//Period Interval Mode Register
#define ST_IER	(volatile unsigned int*)(ST_BASE + 0x0014)	//Interrupt Enable Register
#define ST_IDR	(volatile unsigned int*)(ST_BASE + 0x0018)	//Interrupt Disable Register
#define ST_SR	(volatile unsigned int*)(ST_BASE + 0x0010)	//Status Register

//Bits
#define PITS (1<<0)	//ST_IER/ST_IDR: Period Interval Timer Status Interrupt Enable


void initPeriodicInterrupts();

